package com.copractice.data.entity.feedback;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.copractice.data.entity.PersistentObject;

@Entity
@Table(name = "ATTEMPTS_FEEDBACK")
@SuppressWarnings("serial")
public class AttemptsFeedback extends PersistentObject {

    private Long attemptId;
    
    private Long feedbackId;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Override
    public Long getId() {
        return super.getId();
    }

    @Column(name = "USERS_QUESTIONS_ATTEMPTS_ID")
    public Long getAttemptId() {
        return attemptId;
    }

    public void setAttemptId(Long attemptId) {
        this.attemptId = attemptId;
    }

    @Column(name = "FEEDBACK_ID")
    public Long getFeedbackId() {
        return feedbackId;
    }

    public void setFeedbackId(Long feedbackId) {
        this.feedbackId = feedbackId;
    }

}
